package com.lanxiao.cloud.modules.oauth.application.dto;

import com.lanxiao.cloud.common.core.enums.StateEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.List;

/**
 * @author ：qiaoliang
 * @date ：2021-09-16
 */
@ApiModel("修改角色请求模型")
public class RoleCmdUpdate {

  @ApiModelProperty(value = "名称")
  private String name;
  @ApiModelProperty(value = "标识")
  private String mark;
  @ApiModelProperty(value = "排序")
  private int sort;
  @ApiModelProperty(value = "状态")
  private StateEnum state;
  @ApiModelProperty(value = "备注")
  private String remark;
  @ApiModelProperty(value = "权限ID")
  private List<Long> ids;

  private RoleCmdUpdate() {
  }

  public RoleCmdUpdate(String name, String mark, int sort,
      StateEnum state, String remark, List<Long> ids) {
    this.name = name;
    this.mark = mark;
    this.sort = sort;
    this.state = state;
    this.remark = remark;
    this.ids = ids;
  }

  public String getName() {
    return name;
  }

  public String getMark() {
    return mark;
  }

  public int getSort() {
    return sort;
  }

  public StateEnum getState() {
    return state;
  }

  public String getRemark() {
    return remark;
  }

  public List<Long> getIds() {
    return ids;
  }
}
